BUY = 1
SELL = 2

OPEN = 1
CLOSE = 2
CLOSE_TODAY = 4
CLOSE_YESTERDAY = 8

LIMIT = 1
MARKET = 2
BEST = 3
FAK = 4
FOK = 5

NEW_ORDER = 1
CANCEL_ORDER = 2
CANCEL_TICKER = 3
CANCEL_ALL = 4

CMD_MAGIC = 0x1709394
CMD_TOPIC = 'trader_cmd'
